function login() {
    window.location.href="/login";
}
function register() {
    window.location.href="/register";
}